
package com.chongchong.flow.wrapper;

import com.chongchong.core.mp.support.BaseEntityWrapper;
import com.chongchong.core.tool.utils.BeanUtil;
import com.chongchong.flow.entity.FlowEntryVariable;
import com.chongchong.flow.vo.FlowEntryVariableVo;

/**
 * 附件表包装类,返回视图层所需的字段
 *
 * @author
 * @since 2021-12-16
 */
public class FlowEntryVariableWrapper extends BaseEntityWrapper<FlowEntryVariable, FlowEntryVariableVo> {

    public static FlowEntryVariableWrapper build() {
        return new FlowEntryVariableWrapper();
    }

	@Override
	public FlowEntryVariableVo entityVO(FlowEntryVariable flowEntryVariable) {
		FlowEntryVariableVo flowEntryVariableVo = BeanUtil.copy(flowEntryVariable, FlowEntryVariableVo.class);

		return flowEntryVariableVo;
	}

}
